package com.hm.pan.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.hm.pan.model.Share;

@Mapper
public interface ShareMapper {

	Map<String, Object> findById(Integer id);

	Map<String, Object> findUserName(Integer shareId);

	Boolean addShare(Share share);

	Integer findShareId(Integer shareId);

	Object getOneShare(@Param("userfileId")Long userfileId,@Param("shareId")Long shareId);

}
